<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0px;padding: 0px;
        }
        #app>div{
            margin: 30px 40px;
        }
        #app input{
            border: none;
            outline: none;
            background-color: #f1f1f1f9;
            width: 90%;
            height: 40px;
            border-radius: 20px;
            padding: 0px 10px;
            box-sizing: border-box;
        }
    </style>
</head>
<body>
    <div id="app">
        <div class="userName">
            <input type="text" placeholder="手机 用户名" v-model="userName">
        </div>
        <div class="pwd">
            <input type="password" placeholder="密码" v-model="pwd">
        </div>
        <div class="login">
            <input type="button" value="登录" @click="login">
        </div>
    </div>
</body>
</html>
<script src="../vue-2.5.21.js"></script>
<script src="./02_login.js"></script>